import { FC, PropsWithChildren } from 'react';
type Props = {
  title: string;
};

export const OfflienBlock: FC<PropsWithChildren<Props>> = ({ title, children }) => {
  return (
    <section>
      <div style={{ fontSize: 20, fontWeight: 'bold', color: '#222222', marginBottom: 20 }}>
        <h3 style={{ fontSize: 20, marginBottom: 0 }}>{title}</h3>
      </div>
      <div
        style={{
          display: 'flex',
          flexWrap: 'wrap',
        }}
      >
        {children}
      </div>
    </section>
  );
};
